//
//  PictureCollectionCell.m
//  SnailPost
//
//  Created by Liuiu on 16/3/23.
//  Copyright © 2016年 抠泥ser. All rights reserved.
//

#import "PictureCollectionCell.h"

@implementation PictureCollectionCell


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        //image
        self.image = [[UIImageView alloc]init];
        _image.backgroundColor =[UIColor whiteColor];
        [self.contentView addSubview:_image];
        
        
//        /biaoshi
        self.biaoshi = [[UIImageView alloc]init];
        [self.contentView addSubview:_biaoshi];
    }
    return self;
}
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _image.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height);
    
    _biaoshi.frame = CGRectMake(0, 0, 30, 30);
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
